/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jas.bank;

import http.rpc.Remote;
import http.rpc.RemoteException;

/**
 *
 * @author Asger
 */
public interface Account extends Remote {
    String getName() throws RemoteException;
    double getBalance() throws RemoteException;
    void deposit(Double amount) throws RemoteException;
    void withdraw(Double amount) throws RemoteException;
}
